package org.dromara.xhlj.domain.vo;

import org.dromara.xhlj.domain.XhljVenues;
import org.dromara.xhlj.domain.XhljActivity;
import org.dromara.xhlj.domain.XhljEnterprise;
import org.dromara.xhlj.domain.XhljHighlight;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.dromara.common.core.utils.tree.TreeCruxField;
import org.dromara.wx.domain.WxUser;
import org.dromara.wx.domain.vo.WxUserVo;
import org.dromara.system.domain.SysUser;
import org.dromara.system.domain.vo.SysUserVo;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 大会会场视图对象 xhlj_venues
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = XhljVenues.class)
public class XhljVenuesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 会场ID
     */
    @ExcelProperty(value = "会场ID")
    private Integer venuesId;
    /**
     * 会场名称
     */
    @ExcelProperty(value = "会场名称")
    private String venuesName;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
    @ExcelProperty(value = "创建人sys_user")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Translation(type = SysUser.TRANS_ID_TO_VO, mapper = "createBy")
    private SysUserVo sysUser;
    private Integer createBy;
    /**
     * 会场地址
     */
    @ExcelProperty(value = "会场地址")
    private String venuesLocation;
    /**
     * 会场联系人
     */
    @ExcelProperty(value = "会场联系人")
    private String venuesContact;
    /**
     * 会场联系电话
     */
    @ExcelProperty(value = "会场联系电话")
    private String venuesPhone;
    /**
     * 会场最大容量
     */
    @ExcelProperty(value = "会场最大容量")
    private Integer venuesCapacity;
    /**
     * 会场图片
     */
    @ExcelProperty(value = "会场图片")
    private String venuesImage;
    /**
     * 会场视频
     */
    @ExcelProperty(value = "会场视频")
    private String venuesFile;
    /**
     * 会场地图
     */
    @ExcelProperty(value = "会场地图")
    private String venuesMap;
    /**
     * 会场类型（0=会议室，1=展览厅，2=宴会厅，3=展商）
     */
    @ExcelProperty(value = "会场类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "venues_type")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "venues_type", mapper = "venuesType")
    private String venuesTypeDictData;
    private String venuesType;
    /**
     * 会场状态（0=未占用，1=已占用）
     */
    @ExcelProperty(value = "会场状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "venues_status")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "venues_status", mapper = "venuesStatus")
    private String venuesStatusDictData;
    private String venuesStatus;
    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 活动 子列表
     */
    @JsonIgnore
    @Translation(type = XhljActivity.TRANS_ID_TO_VO_LIST, mapper = "venuesId" , other = "venues_id")
    private List<XhljActivityVo> xhljActivityVoList;
    /**
     * 企业展商 子列表
     */
    @JsonIgnore
    @Translation(type = XhljEnterprise.TRANS_ID_TO_VO_LIST, mapper = "venuesId" , other = "venues_id")
    private List<XhljEnterpriseVo> xhljEnterpriseVoList;
    /**
     * 大会亮点 子列表
     */
    @JsonIgnore
    @Translation(type = XhljHighlight.TRANS_ID_TO_VO_LIST, mapper = "venuesId" , other = "venues_id")
    private List<XhljHighlightVo> xhljHighlightVoList;
}
